package com.caipiao.crawler.mapper;



import com.caipiao.crawler.model.LotteryFootball;

import java.util.List;
import java.util.Map;


public interface LotteryFootballMapper {

     void insertModel(LotteryFootball model);

     List selectByStatus();

     void updateByMid(Map map);

     List selectDetailsForSfc(Map map);

     int selectCountByMid(int mid);

     /**
      * 更新开奖结果
      * @param model
      */
     void updateMatchResult(LotteryFootball model);

     /**
      * 查看本赛事是否开奖
      * @param map
      * @return
      */
     int selectCountByMidAndStatus(Map map);

     List selectModelByMid(String mid);

     void updateStatusByMid(Map map);

}